#Makefile Epimmaping 3D (bracde_h)

OCAML=ocamlopt
FLAGS= -I +sdl -I +lablgtk2 -I +lablgl
GTKLIB= bigarray.cmxa sdl.cmxa sdlloader.cmxa lablgl.cmxa lablgtk.cmxa lablgtkgl.cmxa lablglade.cmxa gtkInit.cmx

all::
	${OCAML} ${FLAGS} -o epimapping ${GTKLIB} img.ml ep.ml objCons.ml cam.ml e3d.ml gui.ml main.ml

main.cmx: gui.cmx
	${OCAML} -c gui.cmx main.ml

gui.cmx:
	${OCAML} ${FLAGS} -c ${GTKLIB} gui.ml


clean :: 
	rm -f *~ *.o *.cm? *.bmp epimapping
# END
